Skip to content

CFE-4694: String replace lists#6219

Open
victormlg wants to merge 2 commits into
cfengine:masterfrom
victormlg:string_replace_lists
Open

CFE-4694: String replace lists#6219
victormlg wants to merge 2 commits into
cfengine:masterfrom
victormlg:string_replace_lists

Conversation

@victormlg

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread libpromises/evalfunction.c Fixed
Comment thread libpromises/evalfunction.c Fixed
Comment thread libpromises/evalfunction.c Fixed
Comment thread libpromises/evalfunction.c Fixed
Comment thread libpromises/evalfunction.c Fixed
Comment thread libpromises/evalfunction.c Fixed
Comment thread libpromises/evalfunction.c Fixed
Comment thread libpromises/evalfunction.c Fixed
Comment thread libpromises/evalfunction.c Fixed
Comment thread libpromises/evalfunction.c Fixed
Comment thread libpromises/evalfunction.c Fixed
@victormlg victormlg force-pushed the string_replace_lists branch 4 times, most recently from 619dcd3 to 0c2db2e Compare July 7, 2026 14:30
Comment thread libpromises/evalfunction.c Outdated
Comment thread tests/acceptance/01_vars/02_functions/string_replace.cf
@victormlg victormlg force-pushed the string_replace_lists branch 5 times, most recently from b28a4eb to 26290ef Compare July 10, 2026 13:33
@olehermanse olehermanse requested a review from larsewi July 13, 2026 11:45
@olehermanse

Copy link
Copy Markdown
Member

@cf-bottom jenkins, please

@cf-bottom

Copy link
Copy Markdown

@larsewi larsewi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider refactoring "string" and "list" paths into two separate static functions to make it more readable. Furthermore, I would avoid goto's unless it saves you a lot of code.

Comment thread libpromises/evalfunction.c Outdated
Comment thread libpromises/evalfunction.c Outdated
Comment thread libpromises/evalfunction.c Outdated
Comment thread libpromises/evalfunction.c Outdated
Comment thread libpromises/evalfunction.c Outdated
Comment thread libpromises/evalfunction.c Outdated
Comment thread libpromises/evalfunction.c Outdated
@victormlg victormlg force-pushed the string_replace_lists branch 3 times, most recently from 6ba9450 to 4da006c Compare July 16, 2026 11:36
Comment thread libpromises/evalfunction.c Fixed
Comment thread libpromises/evalfunction.c Fixed
Comment thread libpromises/evalfunction.c Fixed
@victormlg victormlg force-pushed the string_replace_lists branch from 4da006c to 5baefa2 Compare July 16, 2026 12:31
Changelog: Title
Ticket: CFE-4694
Signed-off-by: Victor Moene <victor.moene@northern.tech>
Signed-off-by: Victor Moene <victor.moene@northern.tech>
@victormlg victormlg force-pushed the string_replace_lists branch from 5baefa2 to 7ed126e Compare July 16, 2026 12:45
@olehermanse olehermanse requested a review from larsewi July 16, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

6 participants